package com.etc.entity;

import java.util.Date;
import java.util.List;

public class Orders {
    private Integer oid;

    private Integer ouid;

    private String ofuname;

    private String otuname;

    private String opetname;

    private String opettype;

    private Integer opetstatus;

    private String  ostdate;

    private Integer odays;

    private String oenddate;

    private Integer odeposit;

    private Integer ototal;

    private Integer ofinapay;

    private Integer ostatus;
    
    private List<Media> media;
    

    public List<Media> getMedia() {
		return media;
	}

	public void setMedia(List<Media> media) {
		this.media = media;
	}

	public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getOuid() {
        return ouid;
    }

    public void setOuid(Integer ouid) {
        this.ouid = ouid;
    }

    public String getOfuname() {
        return ofuname;
    }

    public void setOfuname(String ofuname) {
        this.ofuname = ofuname == null ? null : ofuname.trim();
    }

    public String getOtuname() {
        return otuname;
    }

    public void setOtuname(String otuname) {
        this.otuname = otuname == null ? null : otuname.trim();
    }

    public String getOpetname() {
        return opetname;
    }

    public void setOpetname(String opetname) {
        this.opetname = opetname == null ? null : opetname.trim();
    }

    public String getOpettype() {
        return opettype;
    }

    public void setOpettype(String opettype) {
        this.opettype = opettype == null ? null : opettype.trim();
    }

    public Integer getOpetstatus() {
        return opetstatus;
    }

    public void setOpetstatus(Integer opetstatus) {
        this.opetstatus = opetstatus;
    }

    public String  getOstdate() {
        return ostdate;
    }

    public void setOstdate(String ostdate) {
        this.ostdate = ostdate;
    }

    public Integer getOdays() {
        return odays;
    }

    public void setOdays(Integer odays) {
        this.odays = odays;
    }

    public String getOenddate() {
        return oenddate;
    }

    public void setOenddate(String  oenddate) {
        this.oenddate = oenddate;
    }

    public Integer getOdeposit() {
        return odeposit;
    }

    public void setOdeposit(Integer odeposit) {
        this.odeposit = odeposit;
    }

    public Integer getOtotal() {
        return ototal;
    }

    public void setOtotal(Integer ototal) {
        this.ototal = ototal;
    }

    public Integer getOfinapay() {
        return ofinapay;
    }

    public void setOfinapay(Integer ofinapay) {
        this.ofinapay = ofinapay;
    }

    public Integer getOstatus() {
        return ostatus;
    }

    public void setOstatus(Integer ostatus) {
        this.ostatus = ostatus;
    }

	@Override
	public String toString() {
		return "Orders [oid=" + oid + ", ouid=" + ouid + ", ofuname=" + ofuname + ", otuname=" + otuname + ", opetname="
				+ opetname + ", opettype=" + opettype + ", opetstatus=" + opetstatus + ", ostdate=" + ostdate
				+ ", odays=" + odays + ", oenddate=" + oenddate + ", odeposit=" + odeposit + ", ototal=" + ototal
				+ ", ofinapay=" + ofinapay + ", ostatus=" + ostatus + "]";
	}

	
	

	public Orders(Integer ouid, String ofuname, String otuname, String opetname, String opettype, Integer opetstatus,
			String ostdate, String oenddate, Integer ostatus) {
		super();
		this.ouid = ouid;
		this.ofuname = ofuname;
		this.otuname = otuname;
		this.opetname = opetname;
		this.opettype = opettype;
		this.opetstatus = opetstatus;
		this.ostdate = ostdate;
		this.oenddate = oenddate;
		this.ostatus = ostatus;
	}

	public Orders() {
		// TODO Auto-generated constructor stub
	}
    
}